package com.itetchologyandenglish.home.mapper;

import com.itetchologyandenglish.home.enetity.SysLog;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface SysMapper {
    Map<String,String> getSys();
    //username, operation,method,params,create_time
    void saveSysLog(@Param("syslog")SysLog syslog);

    List<SysLog> getAllLogWith(@Param("moduleName") String moduleName,
                               @Param("adminName")String adminName,
                               @Param("searchbegin") String searchbegin,
                               @Param("searchend") String searchend);
}
